// 页面表格配置
export const tableConfig = {
    // 表格循环列
    tableItems: [
        { type: "selection" },
        { label: '序号', type: "index", width: "100px", align: 'left' },
        { label: '用户名', prop: 'name', align: 'center', sortable: true },
        { label: '性别', prop: 'gender', slotName: "genderSlot", align: 'center' },
        { label: '职业', prop: 'vocation', slotName: "vocationSlot", align: 'center' },
        { label: '注册时间', prop: 'createTime', align: 'center', showOverflowTooltip: true, sortable: true },
        {
            label: '操作',
            slotName: 'handleTableSlot',
            align: 'center'
        }
    ],
    // ElTable 属性
    tableAttributes: {
        border: true
    }
}